package com.ruoyi.mysystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 t_class
 * 
 * @author ruoyi
 * @date 2024-09-20
 */
public class TClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程名称 */
    private Long cid;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String className;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String major;

    /** 时间段 */
    @Excel(name = "时间段")
    private Long timeSpan;

    /** 教师名字 */
    @Excel(name = "教师名字")
    private String teacher;

    /** 人数上限 */
    @Excel(name = "人数上限")
    private Long classSize;

    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setTimeSpan(Long timeSpan) 
    {
        this.timeSpan = timeSpan;
    }

    public Long getTimeSpan() 
    {
        return timeSpan;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setClassSize(Long classSize) 
    {
        this.classSize = classSize;
    }

    public Long getClassSize() 
    {
        return classSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cid", getCid())
            .append("className", getClassName())
            .append("major", getMajor())
            .append("timeSpan", getTimeSpan())
            .append("teacher", getTeacher())
            .append("classSize", getClassSize())
            .toString();
    }
}
